package dto;

import lombok.Getter;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotEmpty;
import java.util.Map;

/**
 * @author jasper
 */
@Getter
public class TestDto  {
    @Digits(integer = 64,fraction = 0)
    private long id;
    @NotEmpty(message = "用户名不能为空")
    private String name;
    private Map<String, String> sub;
    private String cost;
    private String hub;
}
